package cn.qicaiwang.open.websocket.service.impl;


import cn.qicaiwang.open.common.entity.CrmMessage;
import cn.qicaiwang.open.common.req.CrmMessageREQ;
import cn.qicaiwang.open.common.vo.CrmMessageVO;
import cn.qicaiwang.open.websocket.mapper.CrmMessageMapper;
import cn.qicaiwang.open.websocket.service.ICrmMessageService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CrmMessageService extends ServiceImpl<CrmMessageMapper, CrmMessage> implements ICrmMessageService {
    @Autowired
    private CrmMessageMapper crmMessageMapper;

    @Override
    public Page<CrmMessageVO> pagelist(Page page, CrmMessageREQ req) {
        return crmMessageMapper.page(page, req);
    }
}
